#include <iostream>


/**
 * C++11 list-initialization. The = sign is optional 
 */


using namespace std;

struct inflatable{
    char name[20];
    float volume;
    double price;
};

int main(){
    inflatable hat;
    inflatable container[4];
    for(int i=0;i<4;i++){
        inflatable tmp = {"wanghongbin", 1.2f + i, 3.4 + i};
        container[i] = tmp;
    }
    cout<<"container[0]\t"<<container[0].volume<<endl;
    cout<<"container[1]\t"<<container[1].volume<<endl;
    return 0;
}